package com.ls.knowledge.llm.dto;

import com.ls.knowledge.llm.enums.ModelType;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * @BelongsProject: knowledge
 * @BelongsPackage: com.ls.knowledge.llm.dto
 * @Author: lishun
 * @CreateTime: 2025-06-29  09:49
 * @Description: 聊天消息实体类
 * @Version: 1.0
 */
@Data
public class ChatMessageDto {

    private String conversationId;

    @NotNull(message = "模型类型不能为空")
    private ModelType modelType;

    @NotBlank(message = "用户消息不能为空")
    private String message;


}
